Simple_History\Simple_History D

Total Complexity 282
Dependencies 44
Dependents 9
Total lines 3,331
Lines of code 1,716
Logical lines of code 708
Comment lines 1,190
Methods 83
Properties 12

Methods 83

Method Rating Maintainability Complexity Lines of code
output_quick_stats()
C
32 26 115
get_log_row_html_output()
C
27
18 180
check_for_upgrade()
A
34 11 116
load_loggers()
A
38 13 74
is_on_our_own_pages()
A
54 14 19
api()
A
43 12 47
add_admin_bar_network_menu_item()
A
45 10 40
settings_field_number_of_items()
A
57 11 17
settings_field_number_of_items_dashboard()
A
57 11 17
add_js_templates()
A
40 3 104
get_loggers_that_user_can_read()
A
47 7 39
enqueue_admin_scripts()
A
40 5 64
add_settings()
A
42 5 62
purge_db()
S
44 5 48
settings_page_output()
S
45 5 48
load_dropins()
S
48 5 35
add_admin_bar_menu_item()
S
50 5 29
add_welcome_log_message()
S
46 3 46
add_admin_pages()
S
52 4 27
get_log_row_plain_text_output()
S
61 5 12
filter_gettext_store_latest_translations()
S
56 4 18
add_dashboard_widget()
S
59 4 15
plugin_action_links()
S
60 4 13
settings_field_where_to_show()
S
54 3 28
get_instantiated_logger_by_slug()
S
63 4 11
add_default_settings_tabs()
S
53 3 24
get_log_row_header_output()
S
64 4 9
get_log_row_sender_image_output()
S
64 4 9
get_log_row_details_output()
S
64 4 9
init()
S
50 2 28
get_num_events_per_day_last_n_days()
S
52 2 28
filter_gettext_with_context()
S
63 3 11
filter_gettext()
S
63 3 11
get_num_events_last_n_days()
S
54 2 22
settings_field_clear_log()
S
55 2 20
get_unique_events_for_days()
S
55 2 20
get_core_loggers()
S
50 1 31
setup_cron()
S
64 3 10
history_page_output()
S
54 1 27
get_core_dropins()
S
57 1 19
clear_log()
S
56 1 19
maybe_purge_db()
S
71 2 6
__call()
S
64 2 10
on_admin_head()
S
74 2 5
on_admin_footer()
S
74 2 5
get_instance()
S
71 2 6
add_admin_actions()
S
60 1 13
on_filter_simple_history_log_debug()
S
79 1 3
on_filter_simple_history_log_info()
S
79 1 3
on_filter_simple_history_log_notice()
S
79 1 3
get_instantiated_loggers()
S
82 1 3
get_instantiated_dropins()
S
82 1 3
filter_option_page_capability()
S
82 1 3
on_filter_simple_history_log_warning()
S
79 1 3
get_avatar()
S
68 1 7
on_filter_simple_history_log_critical()
S
79 1 3
on_filter_simple_history_log_alert()
S
79 1 3
on_filter_simple_history_log_emergency()
S
79 1 3
on_filter_simple_history_log()
S
79 1 3
get_events_table_name()
S
82 1 3
get_contexts_table_name()
S
82 1 3
on_filter_simple_history_log_error()
S
79 1 3
load_plugin_textdomain()
S
68 1 6
does_database_have_data()
S
66 1 8
settings_section_output()
S
91 1 2
dashboard_widget_output()
S
65 1 10
register_settings_tab()
S
80 1 3
get_settings_tabs()
S
82 1 3
get_pager_size_dashboard()
S
72 1 5
settings_output_log()
S
80 1 3
settings_output_general()
S
80 1 3
settings_output_styles_example()
S
80 1 3
get_pager_size()
S
72 1 5
get_clear_history_interval()
S
70 1 6
register_dropin()
S
80 1 3
register_logger()
S
80 1 3
setting_show_on_dashboard()
S
72 1 5
setting_show_as_page()
S
72 1 5
user_can_clear_log()
S
79 1 3
get_view_settings_capability()
S
71 1 6
get_view_history_capability()
S
71 1 6
setup_variables()
S
64 1 10
__construct()
S
82 1 3